import request from '@/utils/request'

export function getAllSales(query) {
  return request({
    url: '/admin/AllSales',
    method: 'get',
    data: query
  })
}

export function getDaySales(query) {
  return request({
    url: '/admin/DaySales',
    method: 'get',
    data: query
  })
}

export function getMonSales(query) {
  return request({
    url: '/admin/MonSales',
    method: 'get',
    data: query
  })
}

export function getLastMonSales(query) {
  return request({
    url: '/admin/LastMonSales',
    method: 'get',
    data: query
  })
}

export function getLastTwoMonSales(query) {
  return request({
    url: '/admin/LastTwoMonSales',
    method: 'get',
    data: query
  })
}

